// Excel 上传的配置，基于 https://react-dropzone.js.org/

.#{$ns}ExcelControl {
  &-container {
    display: flex;
    flex-direction: column;
    font-family: sans-serif;
    cursor: pointer;
  }

  &-container > p {
    font-size: px2rem(16px);
  }

  &-container > em {
    font-size: px2rem(12px);
  }

  &-dropzone {
    min-width: 0;
    min-height: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--gap-md);
    border-width: 2px;
    border-radius: 2px;
    border-color: var(--colors-neutral-line-8);
    border-style: dashed;
    background-color: var(--colors-neutral-fill-10);
    color: var(--colors-neutral-text-6);
    outline: none;
    transition: border 0.24s ease-in-out;
  }

  &-dropzone:focus {
    border-color: var(--primary);
  }

  &-dropzone.disabled {
    opacity: 0.6;
  }
}
